using ActorSystem;
using System;

namespace ActorTest
{
    class ActorPong : Actor
    {
        public override void Work()
        {
            //Wait for msg
            //Print it when got it
            Console.WriteLine("HELLO FROM ActorImpl: ActorPong " + LocalId);
            Console.WriteLine(LocalId.ToString());
            Message msg = ReadMessage();
            Console.WriteLine(msg.Content.ToString());
        }
    }
}
